package com.only.webServer.servlet;

import com.only.webServer.request.HttpRequest;
import com.only.webServer.response.HttpResponse;

/**
 * 处理动态业务逻辑的抽象类
 */
public abstract class Servlet {
    public abstract void doGet(HttpRequest request, HttpResponse response);

    public abstract void doPost(HttpRequest request, HttpResponse response);
}
